//
//  AVFile +  getDictionary.m
//  TinyFortune
//
//  Created by lc on 16/5/30.
//  Copyright © 2016年 lc. All rights reserved.
//
/**给AVFile类打个补丁*/
//该补丁可以直接获取保存用户头像的字典
#import "AVFile +  getDictionary.h"

@implementation AVFile (getDictionary)

+ (NSDictionary *)fileWithDictionary:(AVFile *)file{
    NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:file.yy_modelToJSONData options:NSJSONReadingAllowFragments error:nil];
    return dict;
}



@end
